export FTPHOME=/app/dfisftp
export DFISFTP_CONF_PATH=$FTPHOME/etc/dfisftp.conf
export FTPCONFDIR=$FTPHOME/etc
export FTPLOGDIR=$FTPHOME/log
export CLASSPATH=$CLASSPATH:$FTPHOME/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FTPHOME/lib
export LIBPATH=$LIBPATH:$FTPHOME/lib

#获取当前系统日期
DATA=`date +"%Y%m%d"`
echo DATA=$DATA
#获取会计日期，当前日期前一天
etl_date=`date -d "$DATA -1 day" +%Y%m%d`
echo etl_date=$etl_date
#指定保存数据文件的路径
DATA_PATH=/app/awp/data/$etl_date
echo DATA_PATH=$DATA_PATH

/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/$etl_date/AWP$etl_date.ok ${DATA_PATH}

while [ ! -f "${DATA_PATH}/AWP$etl_date.ok" ];
  do
      echo "未取到源数据,reget after 30min "
      sleep 1800
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/$etl_date/AWP$etl_date.ok ${DATA_PATH}
  done
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_OSIDE_BASEINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_PROD_BASE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_PROD_CBRCDAT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_PROFIT_LOSS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_ACCEPT_CONTRACT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_ACCEPT_DETAILS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_BUY_CONTRACT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_BUY_DETAILS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_E_DRAFT_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_BMS_E_DRAFT_TRANS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_DPC_DRAFT_TRANS_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/BMS_HTES_DRAFT_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_AC_CLS_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_AC_LIMIT_CTL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_ADD_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_AG_PAY_TYPE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_AG_UNITINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_BANK_LIMIT_CTL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_BANK_LIMIT_DEF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_BATCH_APPLY_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_BATCH_APPLY_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CASH_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_BASIC_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_BLACK_LIST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_CHECK_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_COP_ATTR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_COP_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_CTL_LIST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_ID_CODE_REL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_INFO_CHG_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_PER_ATTR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CIF_PER_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_BRANCH_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_CUR_NO_CODE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_EXCH_RATE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_HOLIDAY_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_ITEM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_TEL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_COM_TEL_CONNECT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_CTL_AC_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_DC_ACC_REL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_DD_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_DD_MST_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_DD_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_ECARD_AC_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_ECARD_BIND_AC_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_IN_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_IN_MST_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_JGCK_QUOTA_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_JGCK_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_JGCK_TERM_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_EXPAND_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_LO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_MST_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_PAY_PLN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_REG_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LN_REPAY_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_LOSS_CLS_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MDM_AC_REL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MDM_ATTR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_BANK_PO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_DISCNT_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_DISCNT_NOTE_REL_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_HOLD_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_LOSS_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_OPN_CLS_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_RMNY_SMNY_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_TRUST_PROT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_UNCHANGE_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_NOTE_CHEQ_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_NOTE_CHEQ_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_NOTE_MST_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_OUT_CASHIER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_PROTECT_NOTE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_RZ_PLEDGE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_RZ_PROT_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TD_MST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TD_MST_HST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TD_PARM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TEL_CONTROL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TRACE_LOG_BK_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_YJ_INFO_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_ZJTG_REL_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_ZJTG_ZF_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_AJ_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_ASSURE_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_BASE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_BILL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_EXP_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_APPLY_LOAN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_AUTH_ZH_CONT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_AUTH_ZH_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_AUTH_ZH_SPLIT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_AUTH_ZH_SPLIT_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_AC_CTL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_BASE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_BLACK_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_CORP_ADM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_CORP_AP_CORP_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_CORP_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_GROUP_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_GROUP_MEM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_PERS_FAM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_PERS_INF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_CIF_TRUST_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_BOND_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_BOND_REL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_CREDIT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_IMPAWN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_PLEDGE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_REG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_GAGE_REL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_BAD_HXREG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_ACNO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_BH_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_CD_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_TX_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_DUE_WT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_PACT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_PACT_EXP_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_PACT_HIGH_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_PACT_PLAN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_LN_PACT_PLUS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_PARM_DIC_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_PRJ_COP_CONT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_PROD_BASE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_TBL_ORG_DEPARTMENTS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_TBL_ORG_USER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_AUTH_LVL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_AUTH_RECORDS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_AUTH_USER_LVL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_TM_TRADEMENU_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_TT_LOGINUSER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_TWFT_TRADERECORDS_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_T_PRINTDATA_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CTS_T_PRINTHISTORY_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_ECI_CARD_BIN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_ECUSR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_JTFBANKINNER_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_JTFCROSSBANK_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_BUBALFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_BUFNDAR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_BULOANSFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_BUTXNAR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_FIDEALSPFEFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_IMLCISSUEFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_PAORG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_PAUSR_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_PBCLOSEFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ADDRESS_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_AGENTINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_CONTMETH_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_CUSTOMER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_CUSTREL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_EXECUTIVEINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_HOLDERINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_IDENTIFIER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_KEYFLAG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_LEGAL_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_ORG_REGISTERINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_PERSON_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_PER_FAMILIES_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_PER_IDENTIFIER_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_PER_KEYFLAG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EIF_M_CI_PER_LINKMAN_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EVS_IDRLOGS_TMP_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_GLS_COM_ITEM_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_GLS_GL_MST_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FMS_T8_DEAL_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T1_CUST_ACCT_LOG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T1_CUST_FNC_ACCT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T1_CUST_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T1_CUST_MANAGER_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T4_CUST_RISK_ASSESS_LOG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_CUST_TRANS_LOG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_DISTRIBUTOR_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_PROD_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_PROD_INFO_ADDITION_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_PROD_QUOTA_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_PROD_SALE_AREA_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T5_SPECIAL_ACCT_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T6_CUST_TRANS_LOG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T6_CUST_TRANS_LOG_H_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_A001_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_A017_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_A079_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_B001_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_C001_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/PAY_HV_ZF_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/PAY_LV_PKGREG_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_BANK_ACC_PO_${etl_date}_INC.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_DIC_DATA_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_WF_HIST_TASK_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FNC_T4_CUST_RISK_ASSESS_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_PACRP_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_SYS_ADTYPE_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_BOND_INFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_EIBSIBSACCESSLOG_${etl_date}_INC.tar.gz  ${DATA_PATH}
      
      #20210716
      /app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_BD_VOUCHERTYPE_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_SM_USER_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_GL_DETAIL_${etl_date}_INC.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_GL_VOUCHER_${etl_date}_INC.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_FIP_RELATION_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_ER_BUSITEM_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_ER_CSHARE_DETAIL_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_ER_EXPAMTINFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_FA_CARDHISTORY_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_BD_SUPPLIER_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_FA_CARD_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_GLS_COM_BRANCH_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_ORG_ORGS_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_BD_ACCASOA_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_BD_CURRTYPE_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/FIN_FA_CATEGORY_${etl_date}_INC.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TX_DEF_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TX_SUB_DEF_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_MO_PUT_INTST_${etl_date}_INC.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_TUNKA_${etl_date}_INC.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CBS_IN_PARM_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_PAACCFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_BUACCVOUAR_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_SBJSHDFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_SBJSHFFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBP_SELFFIDEALSPFE_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/STK_STOCKHOLDER_INFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_ECCIFTEL_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_ECUSRMCH_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/EBK_ECACCT_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/IMA_A_APNT_MNPLT_JRNL_TBL_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CIP_CU_SIGN_INFO_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CIP_CU_SIGN_ACCT_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/OAS_SYS_ORG_ELEMENT_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/OAS_SYS_ORG_POST_PERSON_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/OAS_SYS_ORG_PERSON_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/HRM_A707_${etl_date}_ALL.tar.gz ${DATA_PATH}
			/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_PRJ_SECURITY_CENTER_${etl_date}_ALL.tar.gz ${DATA_PATH}
      
      
      
	  
      #/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/CMS_WF_TASK_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      #/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_PROD_INCOMEINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
      #/app/dfisftp/example/shell/iftp fetch BDP BDP/AWP/${etl_date}/AST_T8_PROD_SALESINFO_${etl_date}_ALL.tar.gz  ${DATA_PATH}
	  
      echo "已取到"${etl_date}"源数据" 
      cd ${DATA_PATH}
	  	tar -zxf AST_T8_OSIDE_BASEINFO_${etl_date}_ALL.tar.gz
      tar -zxf AST_T8_PROD_BASE_${etl_date}_ALL.tar.gz
      tar -zxf AST_T8_PROD_CBRCDAT_${etl_date}_ALL.tar.gz
      tar -zxf AST_T8_PROFIT_LOSS_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_ACCEPT_CONTRACT_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_ACCEPT_DETAILS_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_BUY_CONTRACT_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_BUY_DETAILS_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_E_DRAFT_INFO_${etl_date}_ALL.tar.gz
      tar -zxf BMS_BMS_E_DRAFT_TRANS_${etl_date}_ALL.tar.gz
      tar -zxf BMS_DPC_DRAFT_TRANS_INFO_${etl_date}_ALL.tar.gz
      tar -zxf BMS_HTES_DRAFT_INFO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_AC_CLS_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_AC_LIMIT_CTL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_ADD_INFO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_AG_PAY_TYPE_${etl_date}_ALL.tar.gz
      tar -zxf CBS_AG_UNITINFO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_BANK_LIMIT_CTL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_BANK_LIMIT_DEF_${etl_date}_ALL.tar.gz
      tar -zxf CBS_BATCH_APPLY_${etl_date}_INC.tar.gz
      tar -zxf CBS_BATCH_APPLY_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_CASH_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_BASIC_INF_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_BLACK_LIST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_CHECK_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_COP_ATTR_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_COP_INF_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_CTL_LIST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_ID_CODE_REL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_INFO_CHG_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_PER_ATTR_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CIF_PER_INF_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_BRANCH_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_CUR_NO_CODE_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_EXCH_RATE_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_HOLIDAY_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_ITEM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_TEL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_COM_TEL_CONNECT_${etl_date}_ALL.tar.gz
      tar -zxf CBS_CTL_AC_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_DC_ACC_REL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_DD_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_DD_MST_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_DD_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_ECARD_AC_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_ECARD_BIND_AC_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_IN_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_IN_MST_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_JGCK_QUOTA_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_JGCK_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_JGCK_TERM_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_EXPAND_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_LO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_MST_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_LN_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_PAY_PLN_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LN_REG_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_LN_REPAY_INFO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_LOSS_CLS_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MDM_AC_REL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MDM_ATTR_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MO_BANK_PO_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MO_DISCNT_${etl_date}_INC.tar.gz
      tar -zxf CBS_MO_DISCNT_NOTE_REL_${etl_date}_INC.tar.gz
      tar -zxf CBS_MO_HOLD_${etl_date}_INC.tar.gz
      tar -zxf CBS_MO_LOSS_${etl_date}_INC.tar.gz
      tar -zxf CBS_MO_OPN_CLS_${etl_date}_INC.tar.gz
      tar -zxf CBS_MO_RMNY_SMNY_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MO_TRUST_PROT_${etl_date}_ALL.tar.gz
      tar -zxf CBS_MO_UNCHANGE_${etl_date}_INC.tar.gz
      tar -zxf CBS_NOTE_CHEQ_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_NOTE_CHEQ_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_NOTE_MST_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_OUT_CASHIER_${etl_date}_ALL.tar.gz
      tar -zxf CBS_PROTECT_NOTE_${etl_date}_ALL.tar.gz
      tar -zxf CBS_RZ_PLEDGE_${etl_date}_ALL.tar.gz
      tar -zxf CBS_RZ_PROT_${etl_date}_INC.tar.gz
      tar -zxf CBS_TD_MST_${etl_date}_ALL.tar.gz
      tar -zxf CBS_TD_MST_HST_${etl_date}_INC.tar.gz
      tar -zxf CBS_TD_PARM_${etl_date}_ALL.tar.gz
      tar -zxf CBS_TEL_CONTROL_${etl_date}_ALL.tar.gz
      tar -zxf CBS_TRACE_LOG_BK_${etl_date}_ALL.tar.gz
      tar -zxf CBS_YJ_INFO_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_ZJTG_REL_REG_${etl_date}_ALL.tar.gz
      tar -zxf CBS_ZJTG_ZF_REG_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_AJ_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_ASSURE_INF_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_BASE_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_BILL_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_EXP_${etl_date}_ALL.tar.gz
      tar -zxf CMS_APPLY_LOAN_${etl_date}_ALL.tar.gz
      tar -zxf CMS_AUTH_ZH_CONT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_AUTH_ZH_REG_${etl_date}_ALL.tar.gz
      tar -zxf CMS_AUTH_ZH_SPLIT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_AUTH_ZH_SPLIT_REG_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_AC_CTL_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_BASE_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_BLACK_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_CORP_ADM_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_CORP_AP_CORP_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_CORP_INF_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_GROUP_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_GROUP_MEM_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_PERS_FAM_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_PERS_INF_${etl_date}_ALL.tar.gz
      tar -zxf CMS_CIF_TRUST_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_BOND_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_BOND_REL_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_CREDIT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_IMPAWN_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_PLEDGE_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_REG_${etl_date}_ALL.tar.gz
      tar -zxf CMS_GAGE_REL_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_BAD_HXREG_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_ACNO_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_BH_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_CD_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_TX_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_DUE_WT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_PACT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_PACT_EXP_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_PACT_HIGH_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_PACT_PLAN_${etl_date}_ALL.tar.gz
      tar -zxf CMS_LN_PACT_PLUS_${etl_date}_ALL.tar.gz
      tar -zxf CMS_PARM_DIC_${etl_date}_ALL.tar.gz
      tar -zxf CMS_PRJ_COP_CONT_${etl_date}_ALL.tar.gz
      tar -zxf CMS_PROD_BASE_${etl_date}_ALL.tar.gz
      tar -zxf CMS_TBL_ORG_DEPARTMENTS_${etl_date}_ALL.tar.gz
      tar -zxf CMS_TBL_ORG_USER_${etl_date}_ALL.tar.gz
      tar -zxf CTS_AUTH_LVL_${etl_date}_ALL.tar.gz
      tar -zxf CTS_AUTH_RECORDS_${etl_date}_ALL.tar.gz
      tar -zxf CTS_AUTH_USER_LVL_${etl_date}_ALL.tar.gz
      tar -zxf CTS_TM_TRADEMENU_${etl_date}_ALL.tar.gz
      tar -zxf CTS_TT_LOGINUSER_${etl_date}_ALL.tar.gz
      tar -zxf CTS_TWFT_TRADERECORDS_${etl_date}_INC.tar.gz
      tar -zxf CTS_T_PRINTDATA_${etl_date}_ALL.tar.gz
      tar -zxf CTS_T_PRINTHISTORY_${etl_date}_ALL.tar.gz
      tar -zxf EBK_ECI_CARD_BIN_${etl_date}_ALL.tar.gz
      tar -zxf EBK_ECUSR_${etl_date}_ALL.tar.gz
      tar -zxf EBK_JTFBANKINNER_${etl_date}_INC.tar.gz
      tar -zxf EBK_JTFCROSSBANK_${etl_date}_INC.tar.gz
      tar -zxf EBP_BUBALFO_${etl_date}_ALL.tar.gz
      tar -zxf EBP_BUFNDAR_${etl_date}_ALL.tar.gz
      tar -zxf EBP_BULOANSFO_${etl_date}_ALL.tar.gz
      tar -zxf EBP_BUTXNAR_${etl_date}_ALL.tar.gz
      tar -zxf EBP_FIDEALSPFEFO_${etl_date}_ALL.tar.gz
      tar -zxf EBP_IMLCISSUEFO_${etl_date}_ALL.tar.gz
      tar -zxf EBP_PAORG_${etl_date}_ALL.tar.gz
      tar -zxf EBP_PAUSR_${etl_date}_ALL.tar.gz
      tar -zxf EBP_PBCLOSEFO_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ADDRESS_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_AGENTINFO_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_CONTMETH_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_CUSTOMER_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_CUSTREL_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_EXECUTIVEINFO_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_HOLDERINFO_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_IDENTIFIER_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_KEYFLAG_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_LEGAL_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_ORG_REGISTERINFO_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_PERSON_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_PER_FAMILIES_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_PER_IDENTIFIER_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_PER_KEYFLAG_${etl_date}_ALL.tar.gz
      tar -zxf EIF_M_CI_PER_LINKMAN_${etl_date}_ALL.tar.gz
      tar -zxf EVS_IDRLOGS_TMP_${etl_date}_INC.tar.gz
      tar -zxf FIN_GLS_COM_ITEM_${etl_date}_ALL.tar.gz
      tar -zxf FIN_GLS_GL_MST_${etl_date}_INC.tar.gz
      tar -zxf FMS_T8_DEAL_INFO_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T1_CUST_ACCT_LOG_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T1_CUST_FNC_ACCT_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T1_CUST_INFO_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T1_CUST_MANAGER_INFO_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T4_CUST_RISK_ASSESS_LOG_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_CUST_TRANS_LOG_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_DISTRIBUTOR_INFO_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_PROD_INFO_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_PROD_INFO_ADDITION_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_PROD_QUOTA_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_PROD_SALE_AREA_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T5_SPECIAL_ACCT_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T6_CUST_TRANS_LOG_${etl_date}_ALL.tar.gz
      tar -zxf FNC_T6_CUST_TRANS_LOG_H_${etl_date}_ALL.tar.gz
      tar -zxf HRM_A001_${etl_date}_ALL.tar.gz
      tar -zxf HRM_A017_${etl_date}_ALL.tar.gz
      tar -zxf HRM_A079_${etl_date}_ALL.tar.gz
      tar -zxf HRM_B001_${etl_date}_ALL.tar.gz
      tar -zxf HRM_C001_${etl_date}_ALL.tar.gz
      tar -zxf PAY_HV_ZF_${etl_date}_ALL.tar.gz
      tar -zxf PAY_LV_PKGREG_${etl_date}_ALL.tar.gz
		  tar -zxf CBS_MO_BANK_ACC_PO_${etl_date}_INC.tar.gz
		  tar -zxf CBS_DIC_DATA_${etl_date}_ALL.tar.gz
		  tar -zxf CMS_WF_HIST_TASK_${etl_date}_ALL.tar.gz
		  tar -zxf FNC_T4_CUST_RISK_ASSESS_INFO_${etl_date}_ALL.tar.gz
		  tar -zxf EBP_PACRP_${etl_date}_ALL.tar.gz
		  tar -zxf AST_T8_SYS_ADTYPE_${etl_date}_ALL.tar.gz
		  tar -zxf AST_T8_BOND_INFO_${etl_date}_ALL.tar.gz
		  tar -zxf EBK_EIBSIBSACCESSLOG_${etl_date}_INC.tar.gz

	  #tar -zxf CMS_WF_TASK_${etl_date}_ALL.tar.gz
	  #tar -zxf AST_T8_PROD_INCOMEINFO_${etl_date}_ALL.tar.gz
	  #tar -zxf AST_T8_PROD_SALESINFO_${etl_date}_ALL.tar.gz
	  
	  #20210716
	  	tar -zxvf FIN_BD_VOUCHERTYPE_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_SM_USER_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_GL_DETAIL_${etl_date}_INC.tar.gz
			tar -zxvf FIN_GL_VOUCHER_${etl_date}_INC.tar.gz
			tar -zxvf FIN_FIP_RELATION_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_ER_BUSITEM_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_ER_CSHARE_DETAIL_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_ER_EXPAMTINFO_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_FA_CARDHISTORY_${etl_date}_INC.tar.gz
			tar -zxvf FIN_BD_SUPPLIER_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_FA_CARD_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_GLS_COM_BRANCH_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_ORG_ORGS_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_BD_ACCASOA_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_BD_CURRTYPE_${etl_date}_ALL.tar.gz
			tar -zxvf FIN_FA_CATEGORY_${etl_date}_ALL.tar.gz
			tar -zxvf CBS_TX_DEF_${etl_date}_ALL.tar.gz
			tar -zxvf CBS_TX_SUB_DEF_${etl_date}_ALL.tar.gz
			tar -zxvf CBS_MO_PUT_INTST_${etl_date}_INC.tar.gz
			tar -zxvf CBS_TUNKA_${etl_date}_INC.tar.gz
			tar -zxvf CBS_IN_PARM_${etl_date}_ALL.tar.gz
			tar -zxvf EBP_PAACCFO_${etl_date}_ALL.tar.gz
			tar -zxvf EBP_BUACCVOUAR_${etl_date}_ALL.tar.gz
			tar -zxvf EBP_SBJSHDFO_${etl_date}_ALL.tar.gz
			tar -zxvf EBP_SBJSHFFO_${etl_date}_ALL.tar.gz
			tar -zxvf EBP_SELFFIDEALSPFE_${etl_date}_ALL.tar.gz
			tar -zxvf STK_STOCKHOLDER_INFO_${etl_date}_ALL.tar.gz
			tar -zxvf EBK_ECCIFTEL_${etl_date}_ALL.tar.gz
			tar -zxvf EBK_ECUSRMCH_${etl_date}_ALL.tar.gz
			tar -zxvf EBK_ECACCT_${etl_date}_ALL.tar.gz 
			tar -zxvf IMA_A_APNT_MNPLT_JRNL_TBL_${etl_date}_ALL.tar.gz
			tar -zxvf CIP_CU_SIGN_INFO_${etl_date}_ALL.tar.gz
			tar -zxvf CIP_CU_SIGN_ACCT_${etl_date}_ALL.tar.gz
			tar -zxvf OAS_SYS_ORG_ELEMENT_${etl_date}_ALL.tar.gz
			tar -zxvf OAS_SYS_ORG_POST_PERSON_${etl_date}_ALL.tar.gz
			tar -zxvf OAS_SYS_ORG_PERSON_${etl_date}_ALL.tar.gz
			tar -zxvf HRM_A707_${etl_date}_ALL.tar.gz
			tar -zxvf CMS_PRJ_SECURITY_CENTER_${etl_date}_ALL.tar.gz
	  
	  
      touch awp$etl_date.done
